package com.example;

import com.example.pojo.User;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

// IOC 配置类
@Configuration
public class IocConfig {

    @Bean
    public User user(){
        return new User();
    }
}
